home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 December / Dec99.iso / Data / Main.dxr / 00153_Contest Movie.ls < prev    next >
Encoding:
Text File  |  1999-10-05  |  1.3 KB  |  52 lines

  1. property TheFirstTimeThrough
  2.  
  3. on new me
  4.   return me
  5. end
  6.  
  7. on beginSprite me
  8.   TheFirstTimeThrough = 1
  9. end
  10.  
  11. on prepareFrame me
  12.   if TheFirstTimeThrough = 1 then
  13.     set the memberNum of sprite 120 to the number of member "Contest.mov"
  14.     set the rect of sprite 120 to rect(0, 285, 240, 480)
  15.     vis(111)
  16.     set the locH of sprite 113 to 179
  17.     set the locV of sprite 113 to 261
  18.     set the locH of sprite 114 to 196
  19.     set the locV of sprite 114 to 261
  20.     TheFirstTimeThrough = 2
  21.     sprite(120).movieSize = #Small
  22.   else
  23.     if TheFirstTimeThrough = 2 then
  24.       sprite(120).volume = 255
  25.       member(the memberNum of sprite 120).controller = 1
  26.       vis(120)
  27.       TheFirstTimeThrough = 3
  28.     else
  29.       if TheFirstTimeThrough = 3 then
  30.         sprite(120).movieRate = 1
  31.         TheFirstTimeThrough = 0
  32.       end if
  33.     end if
  34.   end if
  35. end
  36.  
  37. on endSprite me
  38.   sprite(120).movieRate = 0
  39.   devis(120)
  40.   devis(112)
  41.   devis(111)
  42.   set the locH of sprite 113 to 177
  43.   set the locV of sprite 113 to 470
  44.   set the locH of sprite 114 to 194
  45.   set the locV of sprite 114 to 470
  46.   updateStage()
  47.   sprite(120).movieTime = 0
  48.   sprite(120).movieSize = #notPlaying
  49.   set the memberNum of sprite 120 to the number of member "Intro.mov"
  50.   member(the memberNum of sprite 120).controller = 0
  51. end
  52.